package org.lanyu.springainovel.novel.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 生成章节正文请求DTO
 */
@Data
@Schema(description = "生成章节正文请求")
public class ChapterContentGenerationRequest {
    
    @NotNull(message = "书籍ID不能为空")
    @Schema(description = "书籍ID", required = true)
    private Long bookId;
    
    @NotNull(message = "章节号不能为空")
    @Schema(description = "章节号", required = true)
    private Integer chapterNumber;
    
    @NotNull(message = "对话模型ID不能为空")
    @Schema(description = "对话模型ID", required = true)
    private Long modelId;
    
    @NotNull(message = "系统提示词模板ID不能为空")
    @Schema(description = "系统提示词模板ID", required = true)
    private Long systemPromptTemplateId;
}